package top.tungsword.webconsole.util;

import org.apache.commons.codec.digest.DigestUtils;

/**
 * @author chenji.yu
 * @date 2020/4/27 15:19
 * @description
 */
public class PasswordUtil {
    public static String sha1(String code){
        return DigestUtils.sha1Hex(code);
    }

}
